xend: save/restore cpu_weight and cpu_cap
authorKeir Fraser <keir.fraser@citrix.com>
Sun, 2 Aug 2009 11:26:23 +0000 (12:26 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Sun, 2 Aug 2009 11:26:23 +0000 (12:26 +0100)
commit2707e9adc1b265b60e1cac27cc96c32658675518
tree036f57ca903d1611e486fc40421f0529d25401e8
parent3bdedbcbc09947cbef263ba53c5fdec831bd8dc2
xend: save/restore cpu_weight and cpu_cap

This patch allows vcpus_params cpu_weight and cpu_cap to be saved and
restored.  Most the code to support this already existed, but the save
path needed to be updated to explicitly save these params, and the
restore path needed to be updated to resend the params down to the
kernel.

From: Andrew Jones <drjones@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomainInfo.py